package com.clh.service.impl;

import java.util.List;

import com.clh.dao.FamilyTypeDao;
import com.clh.dao.impl.FamilyTypeDaoImpl;
import com.clh.entity.FamilyType;
import com.clh.service.FamilyTypeService;

/**
 * @Description: TODO(用一句话描述该文件做什么)
 * @author Administrator
 * @date 2022年5月26日 下午1:45:57
 * @version V1.0
 */
public class FamilyTypeServiceImpl implements FamilyTypeService{
	private FamilyTypeDao  familyTypeDao = new FamilyTypeDaoImpl();

	@Override
	public List<FamilyType> getFamilyTypeList() {
		List<FamilyType> list = familyTypeDao.getFamilyTypeList();
		return list;
	}

	@Override
	public boolean addFamilyType(String familyTypeName) {
		return familyTypeDao.addFamilyType(familyTypeName); 
	}
	
}	
